<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:p="http://primefaces.prime.com.tr/ui"
                xmlns:vti="http://java.sun.com/jsf/composite/components/vti"
                template="/autenticacao/templateLogin.xhtml">
    <ui:define name="conteudo">
           <h:panelGroup id="formEsqueci" layout="block">
           <h:outputStylesheet library="css" name="esqueci.css" />
               <h:form prependId="false">
                   <vti:inputText id="email" label="#{msgs['campo.email']}" required="true"
                       maxlength="80" style="width: 280px; height: 21px" value="#{usuarioBean.entidadePesquisa['email']}" />
                   <h:panelGroup layout="block" styleClass="gradeBotoes">
                       <p:commandButton value="#{msgs['acao.enviar']}" styleClass="btnEmail"
                                        process="#{jsfManager.getRealName('email_text')},@this" update="@form,messages"
                                        action="#{usuarioBean.esqueciSenha()}" />
                       <h:commandButton type="button" value="#{msgs['acao.voltar']}" styleClass="btnSair"
                                        onclick="document.location.href='#{request.contextPath}/pages/login.jsf'" />
                   </h:panelGroup>
               </h:form>
           </h:panelGroup>
    </ui:define>
</ui:composition>